use std::process::{Command, Stdio};

fn main() {
    let output = Command::new("ls")
        .arg("-l")
        .current_dir("/Users/hailin")
        .output()
        .expect("Failed to execute command");
    println!("Output: {:?}", String::from_utf8_lossy(&output.stdout));
}
